﻿using System;
using Tss.MagicWeb.Domain.Decks;
using Tss.MagicWeb.Domain.Entities;

namespace Tss.MagicWeb.Domain.Cards
{
    public abstract class BasePhysicalCard : IEntity
    {
        public long Id { get; set; }

        public String OracleName { get; set; }
        public Guid PhysicalCardGuid { get; set; }

        public virtual IDeckValidationRuleProvider GetDeckValidationRuleProvider()
        {
            // Comprehensive rules 100.2a
            // A constructed deck may contain any number of basic land cards 
            // and no more than four of any card with a particular English name other than basic land cards
            return new StandardDeckValidationRuleProvider();
        }
    }
}
